    MOV D, 0

increase:
    INC D;
    CMP D, 5
    JO increase; 溢出跳转

decrease:
    DEC D;
    CMP D, 0
    JZ increase; 0跳转
    JMP decrease

    HLT